package com.iwop.moto.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @说明: 交易记录表
 * @DB: M_PAYMENT
 */
public class MPayment implements Serializable {

    private static final long serialVersionUID = -493400755377886480L;
    /**
     * 主键
     **/
    private String payId;
    /**
     * 开摩邦用户id(买家/付款方)
     **/
    private String buyerUserId;
    /**
     * 开摩邦用户id(卖家/收款方)
     **/
    private String sellerUserId;
    /**
     * 支付平台类型:WXPAY/ALIPAY/UNIONPAY
     **/
    private String mchType;
    /**
     * 交易平台买家Id
     **/
    private String payBuyerId;
    /**
     * 交易平台卖家Id
     **/
    private String paySellerId;
    /**
     * 商户号
     **/
    private String mchId;
    /**
     * 订单号(开摩邦)
     **/
    private String outTradeNo;
    /**
     * 交易凭证号(交易平台)
     **/
    private String payTradeNo;
    /**
     * 交易类型[1:收入][2:支出]
     **/
    private String payType;
    /**
     * 用户此笔订单实付金额 (使用代金券后金额)
     **/
    private Double payActualMoney;
    /**
     * 交易金额(分)
     **/
    private Double payMoney;
    /**
     * 交易手续费(分)
     **/
    private Double payFee;
    /**
     * 交易状态[1:成功][2:失效]
     **/
    private String payStatus;
    /**
     * 交易时间
     **/
    private Date payTime;
    /**
     * 交易描述
     **/
    private String payDescribe;
    /**
     * 交易前金额
     **/
    private Double originalTmoney;
    /**
     * 交易后金额
     **/
    private Double modifyTmoney;

    /**
     * 备注
     * */
    private String content;

    /**
     * 优惠券id
     * */
    private String couponId;
    /**
     * 佣金
     * */
    private Double brokerage;

    /**
     * 添加时间
     * */
    private Date addTime;

    public Date getAddTime() {
        return addTime;
    }

    private String tel;
    private String username;
    private double couponMoney;

    public double getCouponMoney() {
        return couponMoney;
    }

    public void setCouponMoney(double couponMoney) {
        this.couponMoney = couponMoney;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public Double getBrokerage() {
        return brokerage;
    }

    public void setBrokerage(Double brokerage) {
        this.brokerage = brokerage;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getBuyerUserId() {
        return buyerUserId;
    }

    public void setBuyerUserId(String buyerUserId) {
        this.buyerUserId = buyerUserId;
    }

    public String getSellerUserId() {
        return sellerUserId;
    }

    public void setSellerUserId(String sellerUserId) {
        this.sellerUserId = sellerUserId;
    }

    public String getPaySellerId() {
        return paySellerId;
    }

    public void setPaySellerId(String paySellerId) {
        this.paySellerId = paySellerId;
    }

    public String getMchType() {
        return mchType;
    }

    public void setMchType(String mchType) {
        this.mchType = mchType;
    }

    public String getPayBuyerId() {
        return payBuyerId;
    }

    public void setPayBuyerId(String payBuyerId) {
        this.payBuyerId = payBuyerId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getPayTradeNo() {
        return payTradeNo;
    }

    public void setPayTradeNo(String payTradeNo) {
        this.payTradeNo = payTradeNo;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Double getPayActualMoney() {
        return payActualMoney;
    }

    public void setPayActualMoney(Double payActualMoney) {
        this.payActualMoney = payActualMoney;
    }

    public Double getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Double payMoney) {
        this.payMoney = payMoney;
    }

    public Double getPayFee() {
        return payFee;
    }

    public void setPayFee(Double payFee) {
        this.payFee = payFee;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getPayDescribe() {
        return payDescribe;
    }

    public void setPayDescribe(String payDescribe) {
        this.payDescribe = payDescribe;
    }

    public Double getOriginalTmoney() {
        return originalTmoney;
    }

    public void setOriginalTmoney(Double originalTmoney) {
        this.originalTmoney = originalTmoney;
    }

    public Double getModifyTmoney() {
        return modifyTmoney;
    }

    public void setModifyTmoney(Double modifyTmoney) {
        this.modifyTmoney = modifyTmoney;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}